<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>解构表达式</title>
</head>
<script>
    let arr = [1,2,3]

    let[a,...others] =arr;
    console.log(a,others)
</script>
<body>

</body>
</html>